#ifndef CALCUI_H
#define CALCUI_H
#include "CalcInterface.h"
#include <QPushButton>
#include <QLineEdit>
#include <QWidget>
#include <QGridLayout>

class CalcUI: public QWidget
{
    Q_OBJECT

public:
    CalcUI(CalcInterface & calc);
    ~CalcUI();
    void show();

private slots:
    void updateLineEdit();

private:
    QPushButton ** m_btns;
    QLineEdit * m_line;
    CalcInterface * m_calc;
    const int m_btn_total;
};
#endif // CALCUI_H
